package com.bbex.constant;

public interface RedisConstants {

    String USER_INVOTE_KEY = "user:invote:key";

    String USER_LOGIN_INFO_KEY = "user:info:key:";

    String TASK_TRADE = "task:trade:";

    String TASK_TRADE_INC = "task:inc:trade:";

    String TRADE_LAST_PRICE = "trade:last:price";

    String TRADE_EX_PAIR = "trade:ex:pair";

    String MK_AUTO_TRADE_USER = "market:trade:user";

    String MAIN_COIN_RATE_CNB = "coin:ex:cnb";

    String REGISTER_LOTTERY_RULE = "register:lottery:rule";

    String REGISTER_LOTTERY_LIMIT = "register:lottery:limit";

    String REGISTER_LOTTERY = "register:lottery";

    String SOURCE_ADDRESS_KEY = "user:source:address:";

    String TEMP_SOURCE_ADDRESS_SET_KEY = "temp:source:address:set:";

    String SOURCE_ADDRESS_SET_KEY = "user:source:address:set:";

    int SOURCE_ADDRESS_KEY_EXPIRE_SECONDS = 60 * 10; //有效期10分钟
    int SOURCE_ADDRESS_KEY_EXPIRE_MINUTES = 10; //有效期10分钟

}
